Redone structure again.
Added new main.
Made the app executable.