update readme, refactor to call ctrl methods from directive
refactoring directive