Added super simple, quick, and dirty api for chrome extension.