Added better routing to the index
Adding content type header for media and previews
Added meta table schema
Adding sample config file