switch to rustpkg's layout for code
ignore rustpkg's folders
switch to new run_on_main_thread
refactoring