added mysql upload script and basic ml script