added slack writer, updated controller