break view and messages into separate files, remove extra extensions