Level editor

add GUI support to multiple layers, implemented part of the map loader, fixed bugs in map saver, also modified hiearchy