renamed default layer and camera to main, fixed test