Changed c-model action server to use tcp node and fixed bugs.