added template and basic server