Move static configuration annotation to Module functions. Add hive
module.