Added a bunch more functions, there are some questions, read comments and respond.