Finished the initial functionality. Now onto testing.