SublimeText 2 compatibility

Also adds licence/copyright notice