Added camera panning API, some API cleanup