A application level framework for Allegro 5