worked on loading points from database. need to move map initialization to main object