Move the skin parser to a seperate library