Refactor package names, classes and change 'model' by 'module'

Change-Id: Ia122a5e08518321cd9dc03df730c1c0aa4ccc8f8