updated file metadata class
corrected build failure error
added db classes extracted from metcat
added some more classes from metact project