preparations for the codemagic backend implementation, adding models, collections, modularizing the code etc