Implemented some basic dragging, should save to database.