Fixed bugs and added map initialization