Frame completely rewriten. Separated comment files added.