Allow resource allocation strategy to be configurable
Run multiple apps at the same time, and fix resource allocation