[#40] Moved main module to separate directory