Changed file structure and added initilization code for initital camera output