continuing work with doing training without pandaepl, started writing tests and moving some functionality from trainBananas