implemented help menu and refactored the packages