Refactor to support loopback mobile template
Fix the test case
Bump version