added internet permissions, and application class