Updated preconfig
Added video and window creation with glfw