Small adjustments

Removed full screen requirement
Shifted common functions to top
Unglobaled private members
Added license and readme, per request