added travis status to README.md
fixed factory