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

Move install code to external script