created generic manifest loader and updated entity factory