initial basic wikiplatform implementation, minor cleanups