Moved shared components to a core module/class.
Merge branch 'master' of https://github.com/reayd/awsbot