Added project export action, project editor, lots of refactors.