refactored internals
created basic HTML representation of preferences