initFromMBTiles
modified test to reflect mbtiles load
passed MBTiles loader to a factory class for now. Ideally should be called from within the constructor
added init function to public and protected main constructors