Added base activity and streamlined stuff.