added level display for debugging.
Separated specs into different files.