cleaned api, added up votes & delete.