Reorder spec structures
Fix all warnings
Add linecount to spec parser
Add check for properties from the db not used