Archer and code clean up

Added archer and cleaned up / re arranged a lot of code files.