Level editor refactoring;