Table refactor

Split vies to have add app and search