Some refactoring.

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