updated to use magic-log, init is returning a schema now instead of module.exporting it