Moved attributetable.h to database folder/namespace.
Added attribute table stuff and a 'root' user in the database.