Add SFrameworkMainLoop function
Add S_FRAMEWORK structure, SFrameworkCreate and SFrameworkMainLoop functions