remove old files, some small pep-8 cleanup, add initial training code