added server funcionality and configuration and basic view