Completed file structure

Structure almost fully in place. Started adding queries.