Added commands for updating profile and settings.
Updated formatting to be closer to PSR2 standards.