Replace client server implementation into the client main class.
Implement server and client as to different thread function.
Added callculation of passed way.
Implement new choose way logic based on direction degree.
Added new json api. Go back to base performs using passed way coords.