precomile
Added some comments and more doc