Improved customizability

Added customization features.
Also, overhead newlines in the output have been removed to provide clean experience.