Edited structure of templates, added stylerules for 404