Add Serializable interface.
Merge pull request #67 from zukimochi/feature/fix-serialize

add Serializable interface for DI compiler component.