Code cleanup. Added reference to MIT license. Removed unused man file.