renamed main files to index, updated all dependencies, tweaked build steps, added in server protections