Use path as _id in mongodb, code formatting, standardisation and working with latest api-designer

I've updated the _id to be the path to the file in mongodb

Also a few other formatting and renaming of files