adding database, salting admin password, cleaning up file structure