Restructure files, switch to jade rendering, start work on registration