Fixed pages and changed code styling