add licence and module definition