Publite2: Don't hard code resource usage

Read them from a configuration file in stead.