moved all logic to the view controller
Updated readme