Move script to lib folder
Add app to use as command line