Make lsb.py more portable, added image utils, expanded constants for file types, expanded embed functionality