Minor cleanups, and started attribute class system
Merge remote-tracking branch 'origin/master'