Moving submarine class to a exclusive file.
Making Makefile safer.