split meta items into separate class, fixed bug where fields were not populating