Separated interface.c file onto smaller ones.