style fixes
load_pattern function
Style/naming
Lay grounds for struct usage
Cleanup
compute_fft_size
Renames
Refactoring (untested)