Refactored entity creation, added support for coins