Small refactors and comments for clarity
Seperated json creation from cli.rs and added better help message. Also user-friendly message creation