Adding basic API KEY mechanisms. Fixes Issue #25