Selections buggy, but working

Almost all core functionality ready