Create main.c

- Implementation of "Background" methods (not visible in DLL)
- Includes main.h