refactoring planning code, added sections to the html. theres still css and js, need to work on it later.