Polishing - separating monitor into its own file