added account and moved http stuff to own package