Implemented the first page
Added test functions