fixed libraries to map to ./lib
added file upload, not sure where files will be uploaded to though...
fixed back button for report view
added some comments....