move compiler to its own folder, api changes. wip maps