ITSL code incorporated

However, there are null pointer exceptions when inflating.
Some stuff