adding javascript to fetch and parse shifts from backend, and some file structure cleanup