Add tests and refactor Api class to Api modul.
Merge pull request #5 from macejmic/api_modul

Add tests and refactor Api class to Api modul.