move lib from the outside in to the app directory