Major refactor. Moved templates, static, and media out of registration folder.