Towards a methodology for knowledge management