Added staticObject creation logic, not tested yet, changed first parameter type of function insertStObj() in ClArea from enum to int WHY LUKAS, WHY???