first working implementation of KAAPI scheduler.
TODO: 1. How to set the number of threads internally?
      2. How to work with bigger blocksizes?
some clean ups
TODO: 2 dimensional KAAPI implementation