Added more Error Checking

- ConnectionListener added
- useless Activity removed
- main.xml removed