Fixed functions prototypes, removed polymer elements, fixed SplitView class