add EOF newline
fix gulp compilation
add initial types