added markdown module and code cleanup
restructure project layout
rename client tests folder to 'client'