Local repository support added.
Code improved and refactored, README provided