Adds basic structure and background service functionality.