First attempt. Cannot establish a full duplex connection with the current scheme
Second attempt: much cleaner. Nearly working; it only needs to clean the fifos after reading them
Merge branch 'dev' into fifo
Fixes fifo. Modifies makefile to allow multiple mains. Renames db file to be able to exclude it.