Removed unnecassary files and minified the logical code.