massive changes

nuevo formato pending purchase, nueva data base, improvemente de
dbmanager, etc...