Working on Frames and finishing data layer
Added Library, more work and refactorings in main frame and data layers