Updated tower to use JSON, there are still issues with same origin but we can fix those later. Also moved some files around.