Fixed libraries
Included and Commented Custom Functions
Implemented multi-threading