User and password values are read from an XML file now.

A method for setting a destination page has been created.
Unused classes have been deleted.
Code cleanup has been done.
One working test has been written to check if some methods are working fine till now.