Moved map initialization to its own method
Added own method for each database initialization