added mit license and other tests for Retina