Moved app5 core under lib.