added singleton instance for mainviewmodel