Add serialintrf class