Optimize the structure and init the sample module.
Refactor done, add semi working login example.
Fix facebook login.