Restored `seed` formula to its pre-refactor form
Remove structure.h
Separate compilation of .cpp + other fixes