changing interface to add div layers rather than svg
adding event handling interface