Creating WindowMain class.