Barebones system call working

The system call m_read successfully gets called in metadata.c and prints
out a message.
Also, the initial compiler errors from the previous commit are fixed.