added sections headers ect.

Added some test cases, will finish this before 3:00pm meeting Sunday