improved file structure and created a format builder interface
refacotred metadata objects to be context objects