lifted out some functions and cleanup
deleted unused files
Added optionVar for space, fix for cameraview
small changes how to invoke script
rename