Cleaned and finished comm code

TODO: finish adding string to numerical data support