Added help functionality. Cleaned up imports and comments.