Fixing pathSegments breakage
Using new library for serving static files that provides much better static file handling and folder listing. Also added new functions to add MimeTypes into the libraries list from Fukiya.