Splitted demo app to separate files