new rake task to fix database mapping + proper http interface