First version of app lib