initial version
cleanup and changed default text to come from html instead of svg
rearranging code