Add function name logging support
Modularize QML
Change file structure