Corrected the CMakeLists.txt problem

- Added bitmasks for entity grouping
- Added typedefs in logic.h
- Corrected typo in include/message.h
- Added "Prop" type entity