Base library for apps