Prepare project to be usable as library by mobile checker

part of #1