replace parsing and core extensions code with 'monetize' gem