move allowed extensions and mimes to module settings