Some refactoring.

- [ ] Seperate file AwsPortal::Application class and AwsPortal module.