refactor code
rename Pure.hs to IORef.hs
move backends to a subdir