Cleaned up the code; removed unnecesary lines and remove all the plugins from the main file.