fixed migration for new installation, remove not used schema.rb, add new indexes for improve db