install module & install methods refactoring + bug + code style fix
Merge remote-tracking branch 'yupe/master'