memory allocation issue for Windows
made all constructors of main classes explicit and exported