Started flash handling, added a bibliography in the main