separating view classes into 2 files, fixing some keyboard-related issues