Started adding prerequisite stuff. Need to finish it and add a test implementation in main.c.