Refactor; Todo list
extract hardcoded sml strings
a little styling