Added entity api and views to Events feature