Fixes.

Generate_distance_matrix: renaming variables and refactoring
Server: Adding comments
v2methods: Fixing comment
Removing print statements
Merge pull request #27 from darkzeroman/master

Small fixes.
Refactoring
Refactoring
Merge pull request #30 from darkzeroman/master

Refactoring