Remove default IntelliJ headers
major refactoring

Clean ups, cleaner code, easier to read.
after this commit you may have to update your config file, make a backup
or rename uname to username and pword to password