Account status implemented, logging added, classes redesigned