Updates to allow for Serealizing objects using ObjectOutputStreams
Added Mask class to help with this