started refactoring with factories, and more modularization
modularized controllers
Merge pull request #14 from kang/develop

started refactoring with factories, and more modularization