made some fairly large structural changes to trainbot file, it may not play well with the rest of the project right away