Added main.php (getskeleton) and model/controller integration