Updated Core File

further moved stuff from simpleinitapp to separate function
new function:
setCam()