Some bugfixing. Added some input-checks in index. Tried to make a basic view runnable.