namespace model; provided attr accessors, cleanup