Add Parametrized types

replace redcarpet with kramdown to run on JRuby
update and add documentation
clean up old comments