added Camera Class
fixed bug