Implemented basic find or create, and added attribute assignment