Removed index, fixed active admin and model issues