refactored BaseView dependency mngmt system, cleaned code