added some comments, major changes to rwst made in class
added code outline