Refactored to make src and dist folders for better deployment and such.