Updated requirements to add Mysql and Bcrypt for Moodle API
Extended the base template in Moodle files.
Used a proper API to connect to moodle instead of the sloppy ssh
User acquired from moodle is registered and logged in
Check the API result before executing.