Finished main code

Finished writing up main code with no bugs detected. Next round of
debugging will be initiated once the code is uploaded to the crawler