separated lib and app dirs