Implementation of basic report engine