added license and reorganised footer