Added core file and vec2 class