added feed mediator and database js