added store entity
added store proc for creation stat views
fixed percents calculation
fixed migration version