Added some basic data structures and reorganized the dir structure.