Added import/export definition for viual studio compiler, removed some warnings