- cleaned up index.php a bit
- we have some error handling now if the network is broken
- dataserver.php is unnecessary now, moved it's only function into index.php