Converting from classes to styles.
Basic functionality complete.