Split files, make apps part of lib and wrap them