Lyra api

Some proposed additions/changes to allow for Lyra to be used in "editor mode".