Implemented fs2mod format and added various improvements.