Added a main module folder

Doesn't make that much sense but meh, created main.h as functions in
main.c needed prototyping.