Updated to completely rely on code instead of storyboards