Added login. Started point calculation class. Cleaned the code up.