Moved index into app