add state class
add exports to state package
remove global camera and texture variables