Preload()
main()
Function to create all the spaces, this need to be called at the beginning of the app in a multi threated app