Implemented some of the basic functions

Deleted attribute.cpp because it was superfluous.