Fragments mostly working, needs some more work still