Views refactoring - all views use pyCore library; small fixes