added splash demo screen, refactored code