added newlines at the end of each file & other small fixes