refactor generation of path to model
alias names for #272
Initial implementation for #272