Created Pier class and tests