Ignore tmp directory
Use polymorphc component to holding entry database