Rewrite waiter

this will remove selenium's waiter and add its own waiter class