fixed imports and cleaned up skeleton view code