Refer ann-record to connection
Refer Lifecycle into connection
Add a Connection record with stub Lifecycle impl
Move start and stop inline into Connection
Update create to use map->Connection
Move some functions around to fix compilation
Fix connection type checking
Fix Connection references in application
Update connection-test