Added memory mapped files and fixed inheritance issue in exceptions
Added documentation