Changed default directory to my folder in pub and removed some old code.