removed doc
started code cleaning
code cleaning part 2
code cleaning part 3 (lock and dangerous things)
fixed horrendous things