lots of cleanups
moved file fomr u8510 to common