adding memory and computation kernel and some more documentation