Issue129 ecs attributes

Added an attributes system similar to the resources system.
bad method name