Get router working, add directory and tidy up templates structure
Added directory and profile pages