added route and finished up code for main app functionality..but still problems :(