Types and other ino files

Some basic structure that should work ok