Fixed some errors, made a worker instead of web app