Changed class name and added twitter instance to index file