Camera class completed and updated keyboard code