app to lib

change app folder to lib by following text above it
Merge pull request #224 from djindjic/patch-1

app to lib