[#4] Removed unused types. Moved all types from .hrl to .erl files.