finished core functionality

just need to clean up ui and make some links