app: add config to the platform

Right now we're going to have only memory limit per platform, but we can
expand later.

Related to #875.