Removed unecessary jars from classpath, and added the networking jars.