Reorganized files to be compatible with the 'ino' build tools.
Added a header file to clean up main file.