First checkin of plugin code, basic functionality in place.