Need to refactor this to make it more clean to look at, will be using module files.
Activity