Added elasticsearch engine and fixed errors in seed