add schema

closes #16
Created db module and get_latest_data function
added db functions for getting windows by group and parent
Merge pull request #32 from thebrianzeng/mergewindow

added db functions for window functionality
Merge pull request #30 from natebrennand/schema

add schema