Added yaml metadata serialization for config.
Updated paths to make generic to be imported in a project.