moving newcard js code to boards lib
refactoring new card stuff to cards app