Started work on a style guide. Some alterations to sp application.