cleaned up the tools folder, and more

fixed the call for the CLI class, moved the themes templates from the
smarty folder to the each themes folder, created the reset password
template, moved and renamed gen_keys() to GenerateKey().