Adding usage module. toDo: test performance and clean code