renamed methods to match Apple style 'object by method'. added MIT license