fixed a lot of jank. created a utils file and removed unused files