added get all for models and controllers
remove defer close file
do not exit while encouter a file that's already exist
Merge pull request #35 from ZhengYang/master

GetAll methods added