ajax wait added
small refactoring
cells base functionality