Rearranged project files. Added a preferences file.