diff --git a/.gitignore b/.gitignore
index d58adf3a7..64e13d98d 100755
--- a/.gitignore
+++ b/.gitignore
@@ -34,16 +34,10 @@
.qmake.stash
*.autosave
/ZeroTier One.dmg
-/root-topology/*.secret
-/testnet/local-testnet/n????
-/testnet/local-testnet/*/peers.persist
-/testnet/local-testnet/*/authtoken.secret
-/testnet/local-testnet/*/*.log
-/testnet/local-testnet/*/*.old
-/testnet/local-testnet/*/root-topology
-/testnet/local-testnet/*/local.conf
-/testnet/local-testnet/*/networks.d
-/netconf/netconf.db
+/root-topology/bin2c
+/root-topology/mktopology
+/root-topology/test/supernodes
+/root-topology/test/test-root-topology
java/obj/
java/libs/
java/bin/
diff --git a/.gitignore.orig b/.gitignore.orig
new file mode 100644
index 000000000..c45509259
--- /dev/null
+++ b/.gitignore.orig
@@ -0,0 +1,59 @@
+/ext/llvm-g++-Xcode4.6.2
+/ext/llvm-g++-Xcode4.6.2.tar.bz2
+/zerotier-*
+/ZeroTierUI/*.user
+*.o
+.DS_Store
+.Apple*
+*.dSYM
+/netconf-service/node_modules
+/ipch
+/windows/ZeroTierOne.sdf
+/windows/ZeroTierOne.v11.suo
+/windows/x64
+/windows/Win32
+/windows/*/x64
+/windows/*/Win32
+/windows/ZeroTierOne/Release
+/windows/ZeroTierOneService/obj
+/windows/ZeroTierOneService/bin
+/windows/Build
+/ext/installfiles/windows/ZeroTier One-SetupFiles
+/ext/installfiles/windows/Prerequisites
+*.log
+*.opensdf
+*.user
+*.cache
+*.obj
+*.tlog
+*.pid
+/*.deb
+/*.rpm
+/build-*
+/ZeroTierOneInstaller-*
+.qmake.stash
+*.autosave
+/ZeroTier One.dmg
+/root-topology/bin2c
+/root-topology/mktopology
+/root-topology/*.secret
+<<<<<<< HEAD
+/testnet/local-testnet/n????
+/testnet/local-testnet/*/peers.persist
+/testnet/local-testnet/*/authtoken.secret
+/testnet/local-testnet/*/*.log
+/testnet/local-testnet/*/*.old
+/testnet/local-testnet/*/root-topology
+/testnet/local-testnet/*/local.conf
+/testnet/local-testnet/*/networks.d
+/netconf/netconf.db
+java/obj/
+java/libs/
+java/bin/
+java/classes/
+java/doc/
+windows/ZeroTierOne/Debug/
+=======
+/root-topology/test/supernodes
+/root-topology/test/test-root-topology
+>>>>>>> adamierymenko-dev
diff --git a/attic/testnet.cpp b/attic/testnet.cpp
deleted file mode 100644
index 5b175728e..000000000
--- a/attic/testnet.cpp
+++ /dev/null
@@ -1,765 +0,0 @@
-/*
- * ZeroTier One - Network Virtualization Everywhere
- * Copyright (C) 2011-2015 ZeroTier, Inc.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- *
- * --
- *
- * ZeroTier may be used and distributed under the terms of the GPLv3, which
- * are available at: http://www.gnu.org/licenses/gpl-3.0.html
- *
- * If you would like to embed ZeroTier into a commercial application or
- * redistribute it in a modified binary form, please contact ZeroTier Networks
- * LLC. Start here: http://www.zerotier.com/
- */
-
-/* SEE: testnet/README.md */
-
-#include
-#include
-#include
-#include
-
-#include
-#include