Create logo class

Use logo class to simplify code