Loco Controller,  Db Info controller &  some refactoring