removed unnecessary files
fixed Makefile and added backup one in case of accidental cmake
added assertion
style fix
upgraded statemanager
unified error-telling system
upgraded entities
updated states for new statemanager
added experimental cmake support