removed legacy caching classees
made entities serializable
calculated size of inbound rules cache
updated package