fixed config wrapper
added config factory
implemented camera config
added 2 dimensional point
change type of point to int
change type of point to int (reverted from commit 2eb1a935baab919acb784321cd6d8a3c04676404)
added rectangle
implemented camera
rename getRes to getResolution
set the resolution when construction the camera instance