big refactoring
move maps to root directory