moving constants into class, adding process-spawing code for tunnel