Add ILoader, move constants