Move code out of src/ to make elm-get work