added battle factory

also added plugins folder along the way