Some refactoring. Updated readme with basic routes.