Fix alignment issue with linker script
Add cmdline interface (not fully working)