Move install code to external script
Merge pull request #2 from promptworks/refactor-to-script

Move install code to external script