A component based architecture library for game development in c