Convert globals into repo. Add pulp::params. Use pulp::init to set generic variables