move filesystem into its own module. debug macros for write sequence. preparing mbr for dynamic configuration.