cmakelists fix, remove cdrawableoject, cleaning code
added comments on main