Removed unneeded params
Fixed reference issue and added entity count
Message params should be pointers
Fixed message system
fixed clock
Added main core class