Final commit for this project for now, it works as intended. Going to return later to make a client-server based implementation