moving lib to plugin
move custom script to lib
add lib file