changed attached model to be used by every entity, added console commands for testing the models