Added main function to blockio.c because it was needed?