transitional commit.
Server implemented in CPP style but commented due to some problems.