Added a class and stuff like getpass. I still hate OOP.