Added history api wrapper
Added event emiiter and URI