Filesize reduced from 144KB to 77KB total, include proper licensing