unix line ending
removed some old routines and moved some to the SevenTv implementation
code cleaning