Moved rnltrim to util.c
Rearranged folder structure
Split Lua script into different files
Added missing compiled file to `clean` make target
Moved signal_event to events.c