Initial code import. camtest is fully functional