In this merge request a new functionality is added. The DataBase class is included, so far it can take credentials and create a connection to a postgis database, also it can be point to a given table and do spatial queries for buildings and roads in a tile.