Removed out handler globals into own files as well as instantiated them in init function